import { request } from '../utils/request'
export function login (data) {
  return request({
    url: '/user/login',
    data: data,
    method: 'post'
  })
}

export function registry (data) {
  return request({
    url: '/user/registry',
    data: data,
    method: 'post'
  })
}

export function logout (data) {
  return request({
    url: '/user/logout',
    params: data,
    method: 'get'
  })
}
